#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.my;

import java.util.Map;

import com.networknt.config.CentralizedManagement;
import com.networknt.config.Config;

public class ConfigNoCache {

	@SuppressWarnings("unchecked")
	public static <T> T getJsonObjectConfig(String configName, Class<T> clazz) {
		Map<String, Object> configMap = Config.getInstance().getJsonMapConfigNoCache(configName);
		return configMap == null ? null : (T) CentralizedManagement.mergeObject(configMap, clazz);
	}
	
}
